package com.fastloan.safe.mgt.auth.service.impl;

import com.fastloan.safe.mgt.auth.dao.CmuRoleFunMapper;
import com.fastloan.safe.mgt.auth.model.CmuRoleFun;
import com.fastloan.safe.mgt.auth.service.CmuRoleFunService;
import com.kawins.base.BaseMapper;
import com.kawins.base.baseabs.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CmuRoleFunServiceImpl extends BaseServiceImpl<CmuRoleFun> implements CmuRoleFunService {

    @Autowired
    private CmuRoleFunMapper roleFunMapper;

    @Override
    protected BaseMapper<CmuRoleFun> buildDao() {
        return roleFunMapper;
    }

    @Override
    public void insertList(List<CmuRoleFun> roleFunList) {
        roleFunMapper.insertList(roleFunList);
    }
}
